package com.ruoyi.house_sale.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 答题卡对象 examresult
 * 
 * @author ruoyi
 * @date 2022-04-16
 */
public class Examresult extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 编号 */
    private Long resultid;

    /** 调研答卷名称（关联调研答卷名称编号） */
    @Excel(name = "调研答卷名称", readConverterExp = "关=联调研答卷名称编号")
    private Long reseachid;

    /** 题号（答卷题目编号） */
    @Excel(name = "题号", readConverterExp = "答=卷题目编号")
    private Long examid;

    /** 答题结果 */
    @Excel(name = "答题结果")
    private String result;

    /** 做题人（输入或选择客户编号） */
    @Excel(name = "做题人", readConverterExp = "输=入或选择客户编号")
    private Long custid;

    /** 调研人（session用户名称） */
    @Excel(name = "调研人", readConverterExp = "s=ession用户名称")
    private String userid;

    /** 答题日期 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "答题日期", width = 30, dateFormat = "yyyy-MM-dd")
    private Date oprtime;

    public void setResultid(Long resultid) 
    {
        this.resultid = resultid;
    }

    public Long getResultid() 
    {
        return resultid;
    }
    public void setReseachid(Long reseachid) 
    {
        this.reseachid = reseachid;
    }

    public Long getReseachid() 
    {
        return reseachid;
    }
    public void setExamid(Long examid) 
    {
        this.examid = examid;
    }

    public Long getExamid() 
    {
        return examid;
    }
    public void setResult(String result) 
    {
        this.result = result;
    }

    public String getResult() 
    {
        return result;
    }
    public void setCustid(Long custid) 
    {
        this.custid = custid;
    }

    public Long getCustid() 
    {
        return custid;
    }
    public void setUserid(String userid) 
    {
        this.userid = userid;
    }

    public String getUserid() 
    {
        return userid;
    }
    public void setOprtime(Date oprtime) 
    {
        this.oprtime = oprtime;
    }

    public Date getOprtime() 
    {
        return oprtime;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("resultid", getResultid())
            .append("reseachid", getReseachid())
            .append("examid", getExamid())
            .append("result", getResult())
            .append("custid", getCustid())
            .append("userid", getUserid())
            .append("oprtime", getOprtime())
            .toString();
    }
}
